import http from "@/utils/request"

export default {
	index: {
		method: `serviceOrder.serviceOrder.index`,
		name: "订单列表",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	info: {
		method: `serviceOrder.serviceOrder.info`,
		name: "订单详情",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	store: {
		method: `serviceOrder.serviceOrder.store`,
		name: "订单保存",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	import: {
		method: `serviceOrder.serviceOrder.import`,
		name: "订单导入",
		post: async function (data = {},config={}) {
			return await http.post(this.method, data,config);
		}
	},
}
